package com.download.web.mapper;

import com.download.web.entity.BusDicItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cmy
 * @since 2019-02-20
 */
public interface BusDicItemMapper extends BaseMapper<BusDicItem> {

    @Select("select value from bus_dic_item where dictionary_id=${dictionaryId}")
    List<String> itemValueList(@Param("dictionaryId") Integer dictionaryId);

}
